$OpenBSD: patch-common_argus_util_c,v 1.5 2016/08/12 21:39:14 steven Exp $
--- common/argus_util.c.orig	Wed Jun  1 21:17:28 2016
+++ common/argus_util.c	Fri Jun  3 19:23:33 2016
@@ -22679,8 +22679,8 @@ ArgusLog (int priority, char *fmt, ...)
             *tptr++ = buf[i];
          }
 
-         memset(buf, 0, MAXSTRLEN);
-         strncpy(buf, tbuf, MAXSTRLEN);
+         memset(buf, 0, sizeof(buf));
+         strncpy(buf, tbuf, sizeof(buf));
       }
  
       syslog (priority, "%s", buf);
